InitiateMultipartUpload
Description
before transferring data in Multipart Upload mode, you must call the InitiateMultipartUpload interface to notify OSS to initialize a Multipart Upload event.
Request Method
POST
Request Path
/apsara/route/OneRouter/InitiateMultipartUpload
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| encoding-type | BODY | string | No | url | specifies to encode the returned key. URL encoding is currently supported. Key uses UTF-8 characters, but the XML 1.0 standard does not support parsing some control characters, such as characters with ASCII values ranging from 0 to 10. If the Key contains control characters that are not supported by the XML 1.0 standard, you can encode the returned Key by specifying the encoding-type. default value: none optional value: url |
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| version | BODY | string | No | 2016-01-01 | version of api |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| RequestID | string | 1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC | Request id |
Example
Successful Response example
{
"RequestID":"1E3D5A1E0-67CA-43DA-24BC-EAF2D5A1E4DC"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}